<template>
  <div>
    <h2>包裹按钮</h2>
    <TUpload v-model:modelValue="urls">
      <el-button>上传按钮</el-button>
    </TUpload>
    <h2>包裹图片</h2>
    <TUpload v-model:modelValue="urls">
      <el-image :src="urls ? urls : 'http://hbimg.huaban.com/3d08684c78c6bef02339f8be1ba7e1d64f6dcfd828ba-nTzqqR_fw658'" style="width: 100px;height: 100px;"></el-image>
    </TUpload>
    文件路径： {{ urls }}
  </div>
</template>

<script setup lang="ts">
import { TUpload } from '@twa/components'
import { ref } from 'vue'
const urls = ref('')
</script>
